package com.bwie.bargain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author lfw
 * @email sunlightcs@gmail.com
 * @date 2022-03-09 20:54:42
 */
@Data
@TableName("bargain_down")
public class BargainDownEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 砍价活动id
	 */
	@TableId
	private Long id;
	/**
	 * 砍价商品id
	 */
	private Integer goodsId;
	/**
	 * 砍价商品名称
	 */
	private String goodsName;
	/**
	 * 活动开始时间
	 */
	private Date startTime;
	/**
	 * 活动结束时间
	 */
	private Date endTime;
	/**
	 * 限购数量
	 */
	private Integer countNum;
	/**
	 * 商品原价
	 */
	private Double originalPrice;
	/**
	 * 商品底价
	 */
	private Double basePrice;
	/**
	 * 砍价规则
	 */
	private Double bargainingRules;
	/**
	 * 描述
	 */
	private String describes;
	/**
	 * 规则标志值
	 */
	private Integer flag;

}
